package com.tt.fashionWebSite.dto;

import java.io.Serializable;

/**
 * Created by isoft-work 5 on 1/17/2015.
 */
public class BuyUserReportDto implements Serializable {
   private String maTV;
   private String tenTV;
   private Double tien;

   public BuyUserReportDto(Object[] info) {
      if(info[0] != null) {
         this.maTV = info[0].toString();
      }

      if(info[1] != null && info[2] != null) {
         this.tenTV = info[1].toString() + info[2].toString();
      }

      if(info[3] != null) {
         this.tien = (Double)info[3];
      }
   }

   public String getMaTV() {
      return maTV;
   }

   public void setMaTV(String maTV) {
      this.maTV = maTV;
   }

   public String getTenTV() {
      return tenTV;
   }

   public void setTenTV(String tenTV) {
      this.tenTV = tenTV;
   }

   public Double getTien() {
      return tien;
   }

   public void setTien(Double tien) {
      this.tien = tien;
   }
}
